package com.ascainiao.control
{
	
	import flash.events.EventDispatcher;
	
	import spark.components.Group;

	/**
	 * @author 小飞侠
	 * @E-mail: 405076856@qq.com
	 * 创建时间：2021-12-8 上午9:51:07
	 *
	 */
	public class BaseControl
	{
		protected var layer_control:LayerControl;
		protected var message:EventDispatcher;
		public function BaseControl(layer:LayerControl,ed:EventDispatcher)
		{
			layer_control=layer;
			message=ed;
		}
		/**
		 * 获取分层
		 * @param name
		 * @return 
		 * 
		 */		
		protected function getLayerByName(name:String):Group{
			return layer_control.getLayerByName(name);
		}
	}
}